<!-- templates/upload_image.html -->  
<!DOCTYPE html>  
<html>  
<head>  
    <title>Upload Image</title>  
</head>  
<body>  
    <h1>Upload Image</h1>  
    <form method="post" enctype="multipart/form-data">  
        {% csrf_token %}  
        {{ form.as_p }}  
        <button type="submit">Upload</button>  
    </form>  
    <a href="{% url 'image_list' %}">View Images</a>  
</body>  
</html>